Mistakes
github
git
gitTools ➤ Global Options ➤ Git/SVN.
Make sure the first box is ticked and the “git.exe” (Windows) is included in the first box.
git config --global user.email "myemail@email.com" git config --global user.name "My commit name"
Let’s go to github.com.
Additional step-by-step-slides: http://julia.ntzwrk.net/material/git_supp.html.
File ➤ New Project ➤ Version Control ➤ Git
.gitignore file.gitignore file specifies a pattern.git add .gitignore myfirstrepo.Rproj
git does autocomplete for file names in the terminal!git add and git commit (next step).git add .gitignore myfirstrepo.Rproj git commit -am "My first commit"
Commits always have a commit message.
git add .gitignore myfirstrepo.Rproj git commit -am "My first commit" git push
Congrats! You have done it! Now local and remote repositories are up to date!
Before you start working on the project the next time:
git pull
Pull, work some more, repeat.
git diff
First things first: You cannot break things.
Additional step-by-step-slides: http://julia.ntzwrk.net/material/git_supp.html.
Additional info:
Vuorre, M., & Curley, J. P. (2018). Curating Research Assets: A Tutorial on the Git Version Control System. Advances in Methods and Practices in Psychological Science, 1(2), 219–236.
Further references:
Bem, D. J. (2011). Feeling the future: Experimental evidence for anomalous retroactive influences on cognition and affect. Journal of Personality and Social Psychology, 100, 407–425. Retrieved from http://dx.doi.org/10.1037/a0021524
Benjamin, D. J., Berger, J., Johannesson, M., Nosek, B. A., Wagenmakers, E.-J., Berk, R., … Johnson, V. (2018). Redefine statistical significance. Nature Human Behaviour, 2, 6.
Bhattacharjee, Y. (2013). The mind of a con man. New York Times, April 26, 2013. Retrieved from http://www.nytimes.com/2013/04/28/magazine/diederik-stapels-audacious-academic-fraud.html?pagewanted=all
Ebersole, C. R., Atherton, O. E., Belanger, A. L., Skulborstad, H. M., Allen, J. M., Banks, J. B., … Nosek, B. A. (2016). Many labs 3: Evaluating participant pool quality across the academic semester via replication. Journal of Experimental Social Psychology, 67, 68–82. Retrieved from http://ezid.cdlib.org/id/doi:10.17605/OSF.IO/QGJM5
Erdfelder, E. (2010). A note on statistical analysis. Experimental Psychology, 57(1-4). Retrieved from 10.1027/1618-3169/a000001
Gould, S. J. (1996). The mismeasure of man. New York: WW Norton & Company.
Nosek, B. A., Alter, G., Banks, G. C., Borsboom, D., Bowman, S. D., Breckler, S. J., … Yarkoni, T. (2015). Promoting an open research culture. Science, 348(6242), 1422–1425.
Nuijten, M. B., Hartgerink, C. H., Assen, M. A. van, Epskamp, S., & Wicherts, J. M. (2016). The prevalence of statistical reporting errors in psychology (1985–2013). Behavior Research Methods, 48(4), 1205–1226.
Open Science Collaboration. (2015). Estimating the reproducibility of psychological science. Science, 349(6521), 943. Retrieved from dx.doi.org/10.1126/science.aac4716
Rouder, J. N. (2016). The what, why, and how of born-open data. Behavioral Research Methods, 48, 1062–1069. Retrieved from 10.3758/s13428-015-0630-z
Rouder, J. N., Haaf, J. M., & Snyder, H. K. (2019). Minimizing mistakes in psychological science. Advances in Methods and Practices in Psychological Science.
Rouder, J. N., Morey, R. D., Verhagen, J., Province, J. M., & Wagenmakers, E.-J. (2016). Is there a free lunch in inference? Topics in Cognitive Science, 8, 520–547.
Wagenmakers, E.-J., Beek, T., Dijkhoff, L., Gronau, Q. F., Acosta, A., R. B. Adams, J., … Zwaan, R. A. (2016). Registered replication report: Strack, martin, & stepper (1988). Perspectives on Psychological Science, 11(6), 917–928. Retrieved from https://doi.org/10.1177/1745691616674458
Wagenmakers, E.-J., Wetzels, R., Borsboom, D., van der Maas, H. L. J., & Kievit, R. A. (2012). An agenda for purely confirmatory research. Perspectives on Psychological Science, 7, 627–633. Retrieved from https://doi.org/10.1177/1745691612463078
Wicherts, J. M., Bakker, M., & Molenaar, D. (2011). Willingness to share research data is related to the strength of the evidence and the quality of reporting of statistical results. PLoS ONE, 6(11), e26828. Retrieved from http://www.plosone.org/annotation/listThread.action?root=19627